package com.liangxw.site.user;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author xingwu
 * @Date 2021/1/9 15:37
 * @Version 1.0
 */
@SpringBootApplication
//@EnableEurekaClient
//@EnableDiscoveryClient eureka的server不能使用这个注解
//选用的注册中心是eureka，那么就推荐@EnableEurekaClient，如果是其他的注册中心，那么推荐使用@EnableDiscoveryClient
@EnableDiscoveryClient
public class UserApp20001 {
    public static void main(String[] args) {
        SpringApplication.run(UserApp20001.class,args);
    }
}
